<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="portal" uri="/WEB-INF/portal.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page  import="java.util.*"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<%@ include file="/common/plateform/include/common-base.jsp"%>
	<title>工作日管理</title>
</head>
<body class="hold-transition ${sysColor} sidebar-mini">
<div class="wrapper">
	<!-- top start -->
	<%@include file="/common/plateform/top.jsp" %>
	<!-- top end -->

	<!-- left start -->
	<%@include file="/common/plateform/left.jsp" %>
	<!-- left end-->

	<!-- Main start -->
	<div class="content-wrapper">
		<!-- Main start -->
		<section class="content">

			<%
				String year = request.getParameter("year");
				if(year==null){
					year = new String(String.valueOf(Calendar.getInstance().get(Calendar.YEAR)));
				}
			%>

			<script>
                var clickMenu = "workday";
			</script>


			<div class="row">
				<div class="col-xs-12">

					<!------搜索  start ------->
					<div class="box box-info">
						<!--搜索title  start -->
						<div class="box-header with-border">
							<h3 class="box-title"><i class="fa fa-search"></i>工作日管理</h3>
							<div class="box-tools pull-right">
							</div>
						</div>
						<!--搜索title  end -->
						<div class="box-body">
							<form action="workday" method="get" target="workday-iframe">
								<div class="form-group p10">
									<div class="col-sm-2 text-right"><label class="form-control-static">请选择年份：</label></div>
									<div class="col-sm-3">
										<select name="year" class="form-control">
											<%
												int y = Calendar.getInstance().get(Calendar.YEAR);
												for(int i =y-1;i<=y+2;i++){ %>
											<option value="<%=i %>" <%if(year.equals(""+i)){out.print(" selected ");} %>><%=i %></option>
											<%} %>
										</select>
									</div>
									<div class="col-sm-3">
										<button type="submit" class="btn btn-success">查 询</button>
									</div>
								</div>
							</form>

							<!-- 正文开始 -->
							<div class="panel">
								<div class="panel-body">
									<iframe name="workday-iframe" scrolling="auto" frameborder="0"  src="workday" style="width:100%;height:630px;">
									</iframe>
								</div>
							</div>
							<!-- 正文结束 -->

						</div>
					</div>
					<!------- 搜索 end -------->


				</div>
			</div>
		</section>
		<!-- Main end -->
	</div>
</div>
<!-- foot start -->
<%@include file="/common/plateform/foot.jsp"%>
<!-- foot start -->
</body>
</html>


